feature: Comprehensive vulnerability remediation - 87→33 vulns (62% reduction)#258
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
feature: Comprehensive vulnerability remediation - 87→33 vulns (62% reduction)#258devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…transitive dependency upgrades - Spring Boot Parent: 3.3.3 -> 3.3.13 (latest 3.3.x patch) - Tomcat Embedded: 10.1.28 -> 10.1.55 (override) - Jackson BOM: 2.17.2 -> 2.18.8 (override) - Logback: 1.5.7 -> 1.5.33 (override) - Thymeleaf: 3.1.2.RELEASE -> 3.1.5.RELEASE (override) - MySQL Connector: mysql-connector-java 8.0.33 -> mysql-connector-j 8.3.0 (managed) - Spring Framework: 6.1.12 -> 6.1.21 (managed) - Spring Security: 6.3.3 -> 6.3.10 (managed) - maven-compiler-plugin: 3.8.0 -> 3.13.0, source/target 1.8 -> 17 Snyk scan: 87 vulns -> 33 (62% reduction) Co-Authored-By: Achal Channarasappa <achal.channarasappa@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive dependency vulnerability remediation for the Spring Boot 3.3.3 banking application. Snyk SCA scan identified 87 vulnerabilities (9 Critical, 12 High, 17 Medium) across all dependencies. After upgrading Spring Boot parent and overriding key transitive dependencies, the count drops to 33 vulnerabilities (62% reduction). All remediable CVEs within the Spring Boot 3.3.x constraint are now patched. The 33 remaining are in Spring Framework/Boot/Security/Data core and require a Spring Boot 3.4.x+ upgrade (Spring Framework 6.2.x line) to resolve.
Dependency Changes (Before → After)
Plugin Changes
java.versionproperty)Approach
spring-boot-starter-parentupgraded to latest 3.3.x patch (3.3.13) — no API changes, pure security/bug fixestomcat.version,jackson-bom.version,logback.version,thymeleaf.version) push transitive dependencies beyond what Boot 3.3.13 manages, targeting the latest stable releases with at least 7+ days on Maven Centralmysql:mysql-connector-javato canonicalcom.mysql:mysql-connector-j, version now managed by Spring Boot BOM (8.3.0)Remaining Vulnerabilities (33)
All 33 remaining are in Spring Framework 6.1.x / Spring Boot 3.3.x / Spring Security 6.3.x / Spring Data 3.3.x core — these require upgrading to Spring Boot 3.4.x+ (which moves to Spring Framework 6.2.x, Spring Security 6.4.x). This is a minor version upgrade that should be evaluated separately for API compatibility.
SAST Finding (Snyk Code)
SecurityConfig.java:29—csrf().disable()is called. This is a code-level issue, not a dependency vulnerability. Recommend enabling CSRF protection for the banking application.Verification
./mvnw clean compile— BUILD SUCCESSLink to Devin session: https://app.devin.ai/sessions/8fcca08e43384bfeac002b81c583c634
Requested by: @achalc
Devin Review